<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            width: 100%;
            height: 100%;
            overflow: hidden;


        }

        h1 {

            width: 100%;
            height: 100%;
            text-align: center;

        }
    </style>
    <script>
        window.onload = function () {
            let h = document.querySelector("h1");
            h.innerText = "星期" + new Date().getDay();
            setInterval(function () {
                h.innerText = "星期" + new Date().getDay();
            }, 1000);



        }
    </script>
</head>

<body>
    <h1>

    </h1>
</body>

</html>